<!DOCTYPE html>

<html lang="en">
<head>
    <title>世界杯列表</title>
    <link rel="icon" type="image/png" href="/img/worldcup.png">
    <meta charset="UTF-8" />
    <link rel="stylesheet" href="/css/bootstrap.css"/>
</head>
<body>
    <div class="container-fluid" style="text-align: center">
        <h1>世界杯列表</h1>
    </div>
<div class="container-fluid">
    <div class="table-responsive">
        <table id="dataGrid" class="table table-striped table-bordered">
            <thead>
            <tr>
                <th>世界杯</th>
                <th>东道主</th>
                <th>冠军</th>
                <th>亚军</th>
                <th>季军</th>
                <th>殿军</th>
                <th>名额分配</th>
                <th>状态</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <#list sySK8WorldCupList as sySK8WorldCup>
                <tr>
                    <td>${sySK8WorldCup.wcYear?c}年第${sySK8WorldCup.wcNum}届</td>
                    <td>
                        <#if sySK8WorldCup.host??>
                        <img src="/flag/${sySK8WorldCup.host.continentType}/${sySK8WorldCup.host.enName}_${sySK8WorldCup.host.cnName}.png"
                             width="60px" height="40px" title="${sySK8WorldCup.host.cnName}" />
                         </#if>
                    </td>
                    <td>
                        <#if sySK8WorldCup.one??>
                        <img src="/flag/${sySK8WorldCup.one.continentType}/${sySK8WorldCup.one.enName}_${sySK8WorldCup.one.cnName}.png"
                             width="60px" height="40px" title="${sySK8WorldCup.one.cnName}" />
                         </#if>
                    </td>
                    <td>
                        <#if sySK8WorldCup.two??>
                        <img src="/flag/${sySK8WorldCup.two.continentType}/${sySK8WorldCup.two.enName}_${sySK8WorldCup.two.cnName}.png"
                             width="60px" height="40px" title="${sySK8WorldCup.two.cnName}" />
                         </#if>
                    </td>
                    <td>
                        <#if sySK8WorldCup.three??>
                        <img src="/flag/${sySK8WorldCup.three.continentType}/${sySK8WorldCup.three.enName}_${sySK8WorldCup.three.cnName}.png"
                             width="60px" height="40px" title="${sySK8WorldCup.three.cnName}" />
                         </#if>
                    </td>
                    <td>
                        <#if sySK8WorldCup.four??>
                        <img src="/flag/${sySK8WorldCup.four.continentType}/${sySK8WorldCup.four.enName}_${sySK8WorldCup.four.cnName}.png"
                             width="60px" height="40px" title="${sySK8WorldCup.four.cnName}" />
                        </#if>
                    </td>
                    <td>亚（${sySK8WorldCup.asiaNum}）非（${sySK8WorldCup.africaNum}）美（${sySK8WorldCup.americaNum}）欧（${sySK8WorldCup.europeNum}）</td>
                    <td>
                        <#if sySK8WorldCup.flowState == 1>开始</#if>
                        <#if sySK8WorldCup.flowState == 2>分档</#if>
                        <#if sySK8WorldCup.flowState == 3>分组</#if>
                        <#if sySK8WorldCup.flowState == 4>小组赛</#if>
                        <#if sySK8WorldCup.flowState == 5>八分之一</#if>
                        <#if sySK8WorldCup.flowState == 6>四分之一</#if>
                        <#if sySK8WorldCup.flowState == 7>半决赛</#if>
                        <#if sySK8WorldCup.flowState == 8>三四</#if>
                        <#if sySK8WorldCup.flowState == 9>冠亚</#if>
                        <#if sySK8WorldCup.flowState == 10>结束</#if>
                        (${sySK8WorldCup.flowState})
                    </td>
                    <td>
                        <a href="${request.contextPath}/worldcup/sk8/${sySK8WorldCup.wcYear?c}/${sySK8WorldCup.wcNum}" target="_blank">查看详情</a>
                    </td>
                </tr>
            </#list>
            </tbody>
        </table>
    </div>
</div>
</body>
</html>